package org.yefei.homeworkday13;

public class Car {
	// 汽车有品牌、座位数、排量，油量等属性。有启动、行驶、刹车、加速、停止等方法
	public String brand;
	public int sitNum;
	public String displacement;
	public String oilNum;

	public void start() {
		System.out.println("汽车启动");
	}

	public void move() {
		System.out.println("行驶");
	}

	public void brake() {
		System.out.println("刹车");
	}

	public void addSpeed() {
		System.out.println("加速");
	}

	public void stop() {
		System.out.println("停止");
	}
}
